<!DOCTYPE html>
<html lang="zh-CN">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>成交员详情</title>
    <link href="https://cdn.jsdelivr.net/npm/tailwindcss@2.2.19/dist/tailwind.min.css" rel="stylesheet">
</head>
<body class="bg-gray-100">
    <div class="min-h-screen">
        <header class="bg-white shadow">
            <div class="max-w-7xl mx-auto py-6 px-4">
                <div class="flex items-center">
                    <a href="./verifier_list.html" class="text-gray-500 hover:text-gray-700 mr-4">
                        <svg class="w-6 h-6" fill="none" stroke="currentColor" viewBox="0 0 24 24">
                            <path stroke-linecap="round" stroke-linejoin="round" stroke-width="2" d="M10 19l-7-7m0 0l7-7m-7 7h18"></path>
                        </svg>
                    </a>
                    <h1 class="text-2xl font-bold text-gray-900">成交员详情</h1>
                </div>
            </div>
        </header>

        <main class="max-w-7xl mx-auto py-6 sm:px-6 lg:px-8">
            <!-- 基本信息 -->
            <div class="bg-white shadow rounded-lg overflow-hidden mb-6">
                <div class="px-6 py-4 border-b border-gray-200">
                    <h2 class="text-lg font-medium text-gray-900">基本信息</h2>
                </div>
                <div class="px-6 py-4">
                    <div class="flex items-center mb-6">
                        <div class="h-20 w-20 rounded-full bg-gray-200"></div>
                        <div class="ml-6">
                            <div class="text-xl font-medium text-gray-900">张三</div>
                            <div class="text-sm text-gray-500 mt-1">138****8000</div>
                            <div class="mt-2">
                                <span class="px-2 inline-flex text-xs leading-5 font-semibold rounded-full bg-green-100 text-green-800">正常</span>
                            </div>
                        </div>
                        <div class="ml-auto">
                            <button class="px-4 py-2 border border-red-500 text-red-500 rounded-md hover:bg-red-50">冻结账号</button>
                        </div>
                    </div>
                    <dl class="grid grid-cols-4 gap-4">
                        <div class="col-span-1">
                            <dt class="text-sm font-medium text-gray-500">注册时间</dt>
                            <dd class="mt-1 text-sm text-gray-900">2023-12-01</dd>
                        </div>
                        <div class="col-span-1">
                            <dt class="text-sm font-medium text-gray-500">所属景区</dt>
                            <dd class="mt-1 text-sm text-gray-900">三亚海棠湾景区</dd>
                        </div>
                        <div class="col-span-1">
                            <dt class="text-sm font-medium text-gray-500">景区编号</dt>
                            <dd class="mt-1 text-sm text-gray-900">JQ001</dd>
                        </div>
                        <div class="col-span-1">
                            <dt class="text-sm font-medium text-gray-500">最近登录</dt>
                            <dd class="mt-1 text-sm text-gray-900">2024-01-01 10:00</dd>
                        </div>
                    </dl>
                </div>
            </div>

            <!-- 核销权限 -->
            <div class="bg-white shadow rounded-lg overflow-hidden mb-6">
                <div class="px-6 py-4 border-b border-gray-200">
                    <h2 class="text-lg font-medium text-gray-900">核销权限</h2>
                </div>
                <div class="px-6 py-4">
                    <div class="grid grid-cols-2 gap-6">
                        <div class="bg-gray-50 rounded-lg p-4">
                            <div class="flex items-center justify-between">
                                <div>
                                    <div class="text-sm font-medium text-gray-900">门票核销</div>
                                    <div class="text-sm text-gray-500 mt-1">可核销景区门票</div>
                                </div>
                                <div class="relative inline-block w-10 mr-2 align-middle select-none">
                                    <input type="checkbox" name="toggle" id="toggle1" class="toggle-checkbox absolute block w-6 h-6 rounded-full bg-white border-4 appearance-none cursor-pointer" checked>
                                    <label for="toggle1" class="toggle-label block overflow-hidden h-6 rounded-full bg-gray-300 cursor-pointer"></label>
                                </div>
                            </div>
                        </div>
                        <div class="bg-gray-50 rounded-lg p-4">
                            <div class="flex items-center justify-between">
                                <div>
                                    <div class="text-sm font-medium text-gray-900">餐饮券核销</div>
                                    <div class="text-sm text-gray-500 mt-1">可核销景区餐饮券</div>
                                </div>
                                <div class="relative inline-block w-10 mr-2 align-middle select-none">
                                    <input type="checkbox" name="toggle" id="toggle2" class="toggle-checkbox absolute block w-6 h-6 rounded-full bg-white border-4 appearance-none cursor-pointer" checked>
                                    <label for="toggle2" class="toggle-label block overflow-hidden h-6 rounded-full bg-gray-300 cursor-pointer"></label>
                                </div>
                            </div>
                        </div>
                    </div>
                </div>
            </div>

            <!-- 核销统计 -->
            <div class="bg-white shadow rounded-lg overflow-hidden mb-6">
                <div class="px-6 py-4 border-b border-gray-200">
                    <h2 class="text-lg font-medium text-gray-900">核销统计</h2>
                </div>
                <div class="px-6 py-4">
                    <div class="grid grid-cols-4 gap-6">
                        <div class="bg-gray-50 rounded-lg p-4">
                            <div class="text-sm text-gray-500">今日核销</div>
                            <div class="text-2xl font-bold mt-2">12笔</div>
                            <div class="text-sm text-gray-500 mt-2">较昨日 +2笔</div>
                        </div>
                        <div class="bg-gray-50 rounded-lg p-4">
                            <div class="text-sm text-gray-500">本周核销</div>
                            <div class="text-2xl font-bold mt-2">89笔</div>
                            <div class="text-sm text-gray-500 mt-2">较上周 +15笔</div>
                        </div>
                        <div class="bg-gray-50 rounded-lg p-4">
                            <div class="text-sm text-gray-500">本月核销</div>
                            <div class="text-2xl font-bold mt-2">234笔</div>
                            <div class="text-sm text-gray-500 mt-2">较上月 +45笔</div>
                        </div>
                        <div class="bg-gray-50 rounded-lg p-4">
                            <div class="text-sm text-gray-500">累计核销</div>
                            <div class="text-2xl font-bold mt-2">1,234笔</div>
                            <div class="text-sm text-gray-500 mt-2">总计金额 ¥123,456</div>
                        </div>
                    </div>
                </div>
            </div>

            <!-- 核销记录 -->
            <div class="bg-white shadow rounded-lg overflow-hidden">
                <div class="px-6 py-4 border-b border-gray-200">
                    <h2 class="text-lg font-medium text-gray-900">核销记录</h2>
                </div>
                <div class="px-6 py-4">
                    <table class="min-w-full divide-y divide-gray-200">
                        <thead>
                            <tr>
                                <th class="px-6 py-3 text-left text-xs font-medium text-gray-500 uppercase">订单号</th>
                                <th class="px-6 py-3 text-left text-xs font-medium text-gray-500 uppercase">产品信息</th>
                                <th class="px-6 py-3 text-left text-xs font-medium text-gray-500 uppercase">用户信息</th>
                                <th class="px-6 py-3 text-left text-xs font-medium text-gray-500 uppercase">核销类型</th>
                                <th class="px-6 py-3 text-left text-xs font-medium text-gray-500 uppercase">核销时间</th>
                                <th class="px-6 py-3 text-left text-xs font-medium text-gray-500 uppercase">操作</th>
                            </tr>
                        </thead>
                        <tbody class="divide-y divide-gray-200">
                            <tr>
                                <td class="px-6 py-4 text-sm text-gray-900">DD20240101001</td>
                                <td class="px-6 py-4">
                                    <div class="text-sm text-gray-900">三亚海棠湾门票</div>
                                    <div class="text-sm text-gray-500">2张</div>
                                </td>
                                <td class="px-6 py-4">
                                    <div class="text-sm text-gray-900">李四</div>
                                    <div class="text-sm text-gray-500">139****9000</div>
                                </td>
                                <td class="px-6 py-4 text-sm text-gray-900">门票核销</td>
                                <td class="px-6 py-4 text-sm text-gray-500">2024-01-01 10:00:00</td>
                                <td class="px-6 py-4 text-sm">
                                    <a href="#" class="text-blue-600 hover:text-blue-900">查看</a>
                                </td>
                            </tr>
                            <tr>
                                <td class="px-6 py-4 text-sm text-gray-900">DD20240101002</td>
                                <td class="px-6 py-4">
                                    <div class="text-sm text-gray-900">海鲜自助餐券</div>
                                    <div class="text-sm text-gray-500">4张</div>
                                </td>
                                <td class="px-6 py-4">
                                    <div class="text-sm text-gray-900">王五</div>
                                    <div class="text-sm text-gray-500">137****7000</div>
                                </td>
                                <td class="px-6 py-4 text-sm text-gray-900">餐饮券核销</td>
                                <td class="px-6 py-4 text-sm text-gray-500">2024-01-01 12:30:00</td>
                                <td class="px-6 py-4 text-sm">
                                    <a href="#" class="text-blue-600 hover:text-blue-900">查看</a>
                                </td>
                            </tr>
                        </tbody>
                    </table>

                    <!-- 分页 -->
                    <div class="bg-white px-4 py-3 flex items-center justify-between border-t border-gray-200 sm:px-6">
                        <div class="flex-1 flex justify-between sm:hidden">
                            <a href="#" class="relative inline-flex items-center px-4 py-2 border border-gray-300 text-sm font-medium rounded-md text-gray-700 bg-white hover:bg-gray-50">上一页</a>
                            <a href="#" class="ml-3 relative inline-flex items-center px-4 py-2 border border-gray-300 text-sm font-medium rounded-md text-gray-700 bg-white hover:bg-gray-50">下一页</a>
                        </div>
                        <div class="hidden sm:flex-1 sm:flex sm:items-center sm:justify-between">
                            <div>
                                <p class="text-sm text-gray-700">显示第 <span class="font-medium">1</span> 到 <span class="font-medium">2</span> 条，共 <span class="font-medium">12</span> 条</p>
                            </div>
                            <div>
                                <nav class="relative z-0 inline-flex rounded-md shadow-sm -space-x-px" aria-label="Pagination">
                                    <a href="#" class="relative inline-flex items-center px-2 py-2 rounded-l-md border border-gray-300 bg-white text-sm font-medium text-gray-500 hover:bg-gray-50">
                                        <span class="sr-only">上一页</span>
                                        <svg class="h-5 w-5" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 20 20" fill="currentColor" aria-hidden="true">
                                            <path fill-rule="evenodd" d="M12.707 5.293a1 1 0 010 1.414L9.414 10l3.293 3.293a1 1 0 01-1.414 1.414l-4-4a1 1 0 010-1.414l4-4a1 1 0 011.414 0z" clip-rule="evenodd" />
                                        </svg>
                                    </a>
                                    <a href="#" class="relative inline-flex items-center px-4 py-2 border border-gray-300 bg-white text-sm font-medium text-gray-700 hover:bg-gray-50">1</a>
                                    <a href="#" class="relative inline-flex items-center px-4 py-2 border border-gray-300 bg-white text-sm font-medium text-gray-700 hover:bg-gray-50">2</a>
                                    <a href="#" class="relative inline-flex items-center px-4 py-2 border border-gray-300 bg-white text-sm font-medium text-gray-700 hover:bg-gray-50">3</a>
                                    <a href="#" class="relative inline-flex items-center px-2 py-2 rounded-r-md border border-gray-300 bg-white text-sm font-medium text-gray-500 hover:bg-gray-50">
                                        <span class="sr-only">下一页</span>
                                        <svg class="h-5 w-5" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 20 20" fill="currentColor" aria-hidden="true">
                                            <path fill-rule="evenodd" d="M7.293 14.707a1 1 0 010-1.414L10.586 10 7.293 6.707a1 1 0 011.414-1.414l4 4a1 1 0 010 1.414l-4 4a1 1 0 01-1.414 0z" clip-rule="evenodd" />
                                        </svg>
                                    </a>
                                </nav>
                            </div>
                        </div>
                    </div>
                </div>
            </div>
        </main>
    </div>
</body>
</html>